home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x32.msi / Data1.cab / _7BDF5BB2E2FB4F7A871B982536055C39 < prev    next >
Extensible Markup Language  |  2008-06-28  |  2KB  |  73 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet 
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output 
  9.   method="html" 
  10.   version="4.0" 
  11.   encoding="UTF-8" 
  12.   omit-xml-declaration="yes" 
  13.   indent="yes"/>
  14.  
  15. <xsl:include href="./resource/html/propcell.xsl"/>
  16.  
  17. <xsl:template match="/Root">
  18.  
  19. <html>
  20.   <!-- Object properties -->
  21.   <table>
  22.     <tr>
  23.       <!-- Object header -->
  24.       <td colspan="2">
  25.         <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  26.         <img src="hline_gray"/>
  27.       </td>
  28.     </tr>
  29.     <tr>
  30.       <!-- Diagram image -->
  31.       <td>
  32.         <img src="EE4E9A06-A28C-4fd1-BEAE-9B751D52DCE8" align="left"/>
  33.       </td>
  34.       <!-- properties list -->
  35.       <td width="100%">
  36.         <table cellspacing="0" cellpadding="0">
  37.           <xsl:call-template name="PropCell">
  38.             <xsl:with-param name="PropName" select="string('PROPID_HDM_TYPESTRING')"/>
  39.           </xsl:call-template>
  40.  
  41.           <xsl:call-template name="PropCell">
  42.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
  43.           </xsl:call-template>
  44.  
  45.           <xsl:call-template name="PropCell">
  46.             <xsl:with-param name="PropName" select="string('PROPID_HDM_SECTORSPERTRACK')"/>
  47.           </xsl:call-template>
  48.  
  49.           <xsl:call-template name="PropCell">
  50.             <xsl:with-param name="PropName" select="string('PROPID_HDM_HEADS')"/>
  51.           </xsl:call-template>
  52.  
  53.           <xsl:call-template name="PropCell">
  54.             <xsl:with-param name="PropName" select="string('PROPID_HDM_CYLINDERS')"/>
  55.           </xsl:call-template>
  56.         </table>
  57.       </td>
  58.     </tr>
  59.     <tr>
  60.       <!-- Divider line -->
  61.       <td colspan="2">
  62.         <img src="hline_gray"/>
  63.       </td>
  64.     </tr>
  65.   </table>
  66.   
  67.   <!-- Command hyperlinks -->
  68.   <xsl:call-template name="CommandTable"/>
  69.   
  70. </xsl:template>
  71.  
  72. </xsl:stylesheet>
  73.